home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / srcuc.zip / OPTION.H < prev    next >
C/C++ Source or Header  |  1992-05-22  |  3KB  |  83 lines

  1. /* -*-C-*-
  2.  
  3. $Header: /scheme/src/microcode/RCS/option.h,v 1.9 1992/05/23 01:17:50 jinx Exp $
  4.  
  5. Copyright (c) 1990-1992 Massachusetts Institute of Technology
  6.  
  7. This material was developed by the Scheme project at the Massachusetts
  8. Institute of Technology, Department of Electrical Engineering and
  9. Computer Science.  Permission to copy this software, to redistribute
  10. it, and to use it for any purpose is granted, subject to the following
  11. restrictions and understandings.
  12.  
  13. 1. Any copy made of this software must include this copyright notice
  14. in full.
  15.  
  16. 2. Users of this software agree to make their best efforts (a) to
  17. return to the MIT Scheme project any improvements or extensions that
  18. they make, so that these may be included in future releases; and (b)
  19. to inform MIT of noteworthy uses of this software.
  20.  
  21. 3. All materials developed as a consequence of the use of this
  22. software shall duly acknowledge such use, in accordance with the usual
  23. standards of acknowledging credit in academic research.
  24.  
  25. 4. MIT has made no warrantee or representation that the operation of
  26. this software will be error-free, and MIT is under no obligation to
  27. provide any services, by way of maintenance, update, or otherwise.
  28.  
  29. 5. In conjunction with products arising from the use of this material,
  30. there shall be no use of the name of the Massachusetts Institute of
  31. Technology nor of any adaptation thereof in any advertising,
  32. promotional, or sales literature without prior written consent from
  33. MIT in each case. */
  34.  
  35. #ifndef SCM_OPTION_H
  36. #define SCM_OPTION_H
  37.  
  38. #include "ansidecl.h"
  39.  
  40. extern int option_saved_argc;
  41. extern CONST char ** option_saved_argv;
  42. extern int option_unused_argc;
  43. extern CONST char ** option_unused_argv;
  44.  
  45. /* Boolean options */
  46. extern int option_emacs_subprocess;
  47. extern int option_force_interactive;
  48. extern int option_disable_core_dump;
  49.  
  50. /* String options */
  51. extern CONST char ** option_library_path;
  52. extern CONST char * option_band_file;
  53. extern CONST char * option_fasl_file;
  54. extern int option_band_specified;
  55. extern CONST char * option_utabmd_file;
  56.  
  57. /* Numeric options */
  58. extern unsigned int option_heap_size;
  59. extern unsigned int option_constant_size;
  60. extern unsigned int option_stack_size;
  61.  
  62. /* Meaningful only to bchscheme */
  63.  
  64. extern CONST char * option_gc_directory;
  65. extern CONST char * option_gc_drone;
  66. extern CONST char * option_gc_file;
  67. extern int option_gc_keep;
  68. extern int option_gc_read_overlap;
  69. extern int option_gc_window_size;
  70. extern int option_gc_write_overlap;
  71. extern long option_gc_start_position;
  72. extern long option_gc_end_position;
  73.  
  74. extern void EXFUN (read_command_line_options, (int argc, CONST char ** argv));
  75.  
  76. extern CONST char * EXFUN (search_for_library_file, (CONST char *));
  77.  
  78. extern CONST char * EXFUN
  79.   (search_path_for_file,
  80.    (CONST char * option, CONST char * filename, int default_p, int fail_p));
  81.  
  82. #endif /* SCM_OPTION_H */
  83.